package com.baidu;
public class  Person
{
	private String name;
	private int age;

	/*Person(){}

	Person(String name,int age){
		this.name = name;
		this.age = age;
	}*/

	public Person(){}

	public Person(String name,int age){
		this.name = name;
		this.age = age;
	}

	public void setName(String name){
		this.name = name;
	}

	public String getName(){
		return this.name;
	}

	public void setAge(int age){
		this.age = age;
	}

	public int getAge(){
		return this.age;
	}

	protected void print(){
		System.out.println("print");
	}
	
}
